<div class="users form">
<?php
    if($this->Session->read('login')=='yes')
    {
        echo $this->Form->create('User'); ?>
	    <fieldset>
		    <legend><?php echo __('Edit User'); ?></legend>
	    <?php
		    echo $this->Form->input('UserID');
		    echo $this->Form->input('UserName', array('label' => 'User Name'));
		    echo $this->Form->input('Password', array('label' => 'Password'));
		    echo $this->Form->input('FirstName', array('label' => 'First Name'));
		    echo $this->Form->input('LastName', array('label' => 'Last Name'));
	    ?>
	    </fieldset>
        <?php echo $this->Form->end(__('Submit')); ?>
    </div>
<?php
}else
{?>
    <p>You can't view the content in this page</p>
<?php
}
?>